import {createRouter,createWebHistory} from "vue-router";
import page from "@/views/login.vue";
import app from "@/App.vue";
import Home from "@/views/Home.vue"
import publish from "@/views/publish.vue";
const routes = [
    {
        path:'/',
        component:Home,
        name:'home',
    },
    {
        path:'/login',
        component: page,
        name:'login',
    },
    {
        path:'/publish',
        component: publish,
        name:'publish',
    }



];

export const router = createRouter(
    {history: createWebHistory(), routes: routes},
)
